Skip to content

ci: enforce normalized path Dylint - #137

Merged
zackees merged 6 commits into
mainfrom
feat/enforce-normalized-path-dylint
Jun 2, 2026
Merged

zackees merged 6 commits into
mainfrom
feat/enforce-normalized-path-dylint

Conversation

@zackees

@zackees zackees commented Jun 2, 2026

Copy link
Copy Markdown
Member

Closes #117.

Summary:

  • Wires the existing ban_std_pathbuf Dylint into ./lint after clippy.
  • Builds the Dylint with pinned nightly-2026-03-26 in a short target directory and loads the resulting shared library with cargo dylint --lib-path.
  • Installs the Dylint toolchain/dependencies in the reusable lint workflow.
  • Marks the Dylint crate as its own standalone workspace and commits its lockfile so ./lint does not leave untracked files.
  • Updates the Dylint README from future-work wording to the enforced CI path.

Parallel work:

  • Worker: initial Dylint wiring and CI install step.
  • Local: simplified the Dylint invocation to use --lib-path, included the lockfile, rebased, and prepared the PR.

Validation:

  • bash -n lint
  • git diff --check origin/main..HEAD

Note: full local Dylint compilation repeatedly timed out on Windows during dependency/build work. CI should be treated as the authoritative end-to-end validation for this branch.

@zackees
zackees merged commit ba8e593 into main Jun 2, 2026
25 checks passed
@zackees
zackees deleted the feat/enforce-normalized-path-dylint branch June 2, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: enforce NormalizedPath wrapper + ban raw PathBuf via dylint

1 participant